package com.luoqiu.cinema.mapper;

import com.luoqiu.cinema.entity.Scorecard;
import org.apache.ibatis.annotations.Param;

public interface ScorecardMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Scorecard record);

    int insertSelective(Scorecard record);

    Scorecard selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Scorecard record);

    int updateByPrimaryKey(Scorecard record);

    void updateScore(@Param("score") Integer score, @Param("id") Integer id);

    Scorecard loadByUserId(@Param("id") Integer id);
}
